A comparative study on method comment and inline comment

نویسندگان

چکیده

Code comments are one of the important documents to help developers review and comprehend source code. In recent studies, researchers have proposed many deep learning models generate method header (i.e., comment), which achieved encouraging results. The in method, is called inline comment, also for program comprehension. Unfortunately, they not received enough attention automatic generation when comparing with comments. this paper, we compare analyze similarities differences between By applying existing generating comment generation, find that these perform worse on task generation. We then further explore possible reasons obtain a number new observations. For example, there lot templates same or similar structures) dataset, makes better. Some terms were thought be (e.g., API calls) by previous study does significantly affect quality generated comments, seems counter-intuitive. Our findings may give some implications building approaches future.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Comment on Cooke's classical method

Several of the papers in this special issue are in one way or another linked to Cooke’s ‘‘classical’’ method for combining expert probability distributions. This comment focuses on characteristics of that method. In particular, I consider two questions: does the weighting scheme give the experts a positive incentive to report their beliefs honestly for each variable? How does Cooke’s method per...

متن کامل

Comment on " an Iterative Method of Imaging "

Image processing is an increasingly important aspect for analysis of data from X and γ-ray astrophysics missions. In this paper, I review a method proposed by Kebede (L. W. Kebede 1994, ApJ, 423, 878), and point out an error in the derivation of this method. It turns out that this error is not debilitating – the method still " works " in some sense – but as published is rather sub-optimal, as d...

متن کامل

Comment 9: Comment on Chapter 13

Under EMU,monetary policy is oriented towards union-wide economic conditions, and cannot effectively address country-specific macroeconomic disturbances. Should national fiscal policy be used more actively, for stabilizing individual economies, now that exchange rate changes among member countries are no longer possible? Several recent studies answer this important normative question, based on ...

متن کامل

transference of imagery: a comparative formalistic study of shakespeares hamlet and its two persian translations

هدف از این تحقیق بررسی انتقال صور خیال هملت در دو ترجمه ی فارسی آن از نظر فرمالیستی بود. برای بدست آوردن داده-های مورد نیاز، 130 نمونه استعاره، مجاز، ایهام، کنایه و پارادوکس در متن اصلی مشخص شده و سپس بر اساس مدل نیومارک (1998) برای ترجمه ی استعاره یا بطور کلی زبان مجاز با معادل های فارسی شان مقایسه گردیدند. این تحقیق بر آن بود تا روش های استفاده شده برای ترجمه هر کدام از انواع زبان مجاز ذکر شد...

15 صفحه اول

Note on a Comment

In a recent paper Edward L. Wright (1994) has criticized both a paper of ours and the Monthly Notices which published it (Hoyle, et al. 1994) on the original grounds that neither we nor the journal took adequate notice of his views! He is concerned with Sections 3 and 4 of our second paper in the series in which we have developed the quasi-steady state cosmological model and have shown that it ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: ACM Transactions on Software Engineering and Methodology

سال: 2023

ISSN: ['1049-331X', '1557-7392']

DOI: https://doi.org/10.1145/3582570